
# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo07
# Description:
# Author:       98745
# Date:         2019/3/3
#-------------------------------------------------------------------------------

class R():
    def __init__(self):
        self.l=0
        self.t=0
    def set(self,p):
        self.l,self.t=p
    def get(self):
        return self.l,self.t
r=R()
r.l=10
r.t=20
print('l=',r.l)
print('t=',r.t)

r.set((30,50))
print(r.get())